{include file="default/header.tpl"}
			<h1>Recent Code Snippits</h1>
			
			<p>Here are some recent code snippits just in case you're wondering what everyone's been up to. This page will show the 15
			most recent pastes here and include the name of the poster, the language along with the name of their script.</p>
			
			<ul id="recent">
			{if !isset( $snippit_list ) }
				<li style="font-size: 14pt; color: red">There are no snippits in the database</li>
			{else}
			{foreach from=$snippit_list key=key item=snip}
				<li><span class="lang">{$language_list[$snip.lang]}</span> <a href="{$config.baseurl}{$snip.sid}">{$snip.script}</a> by <b>{$snip.name}</b> posted {$snip.formatdate}</li>
			{/foreach}
			{/if}
			</ul>
			
			<h3>Popular Pasted Languages</h3>
	
			<ul id="topl">	
			{assign var='count' value='0'}
			{foreach from=$top_langs key=k item=lang}
				{assign var='count' value=`$count+1`}
				<li><b>{$count}</b> - {$language_list[$lang.lang]} - <b>{$lang.langcount}</b> snippits</li>
			{/foreach}
			</ul>
			
{include file="default/footer.tpl"}